package com.infore.common.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.infore.common.base.BaseModel;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 * <p>
 * 统计任务公式参数设置
 * </p>
 *
 * @author shaolay
 * @since 2022-12-13
 */
@TableName("stat_task_param_cal")
public class StatTaskParamCal extends BaseModel<StatTaskParamCal> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 统计任务id
     */
    @TableField("task_id")
    private Integer taskId;
    /**
     * 字段名
     */
    private String field;
    /**
     * 公式参数编码
     */
    @TableField("param_code")
    private String paramCode;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StatTaskParamCal{" + ", id=" + id + ", taskId=" + taskId + ", field=" + field + ", paramCode=" + paramCode + "}";
    }
}
